/**
 * 侧边栏菜单
 *
 * @see sidebar https://vitepress.vuejs.org/guide/theme-sidebar#sidebar
 */
export const sidebar = {
  '/guide/':  [
    {
      //分组标题1
      text: '介绍',
      items: [
        { text: '前言', link: '/preface' },
      ],
    },
    {
      //分组标题2
      text: '基础配置',
      collapsed: false,
      items: [
        { text: '快速上手', link: '/getting-started' },
        { text: '配置', link: '/configuration' },
        { text: '页面', link: '/page' },
        { text: 'Frontmatter', link: '/frontmatter' },
      ],
    },
    {
      //分组标题3
      text: '进阶玩法',
      items: [
        { text: 'Markdown', link: '/markdown' },
        { text: '静态部署', link: '/assets' },
      ],
    },
  ],
  '/app/':  [
    {
      text: '开发指南',
      items: [
        { text: '快速上手', link: '/app/pages/started' },
      ],
    },
    {
      text: '组件库',
      items: [
        { text: '邮件组件', link: '/app/pages/started' },
        { text: '权限组件', link: '/app/pages/started' },
        { text: '日志组件', link: '/app/pages/started' },
        { text: 'web组件', link: '/app/pages/started' },
        { text: '微信组件', link: '/app/pages/started' },
        { text: '钉钉组件', link: '/app/pages/started' },
        { text: '缓存组件', link: '/app/pages/started' },
      ],
    },
  ],
  '/plugin/':  [
    {
      text: '开发指南',
      items: [
        { text: '介绍', link: '/plugin/index' },
        { text: '贡献指南', link: '/plugin/contribution' },
      ],
    },
    {
      text: '核心组件',
      collapsed: false,
      items: [
        { text: '安装', link: '/plugin/pages/started' },
        {
          text: '工具类',
          items: [
            { text: '字符集工具-Charsets', link: '/plugin/pages/Charsets' },
            { text: '唯一ID工具-Ids', link: '/plugin/pages/Ids' },
            { text: '16进制工具-Hexs', link: '/plugin/pages/Hexs' },
            { text: '随机工具-Randoms', link: '/plugin/pages/Randoms' },
            { text: '数字工具-Numbers', link: '/plugin/pages/Numbers' },
            { text: '数组工具-Arrays', link: '/plugin/pages/Arrays' },
            { text: '对象工具-Objects', link: '/plugin/pages/Objects' },
          ]
        },
        {
          text: 'Codec编码',
          items: [
            { text: 'Base64编码解码-Base64', link: '/plugin/pages/Base64' },
          ]
        },
      ],
    },
    {
      text: '组件总览',
      collapsed: false,
      items: [
        { text: 'su-boot-starter-jasypt', link: '/plugin/module/su-boot-starter-jasypt' },
        { text: 'su-boot-starter-jdbc', link: '/plugin/module/su-boot-starter-jdbc' },
        { text: 'su-boot-starter-mail', link: '/plugin/module/su-boot-starter-mail' },
        { text: 'su-boot-starter-security', link: '/plugin/module/su-boot-starter-security' },
        { text: 'su-boot-starter-database', link: '/plugin/module/su-boot-starter-database' },
        { text: 'su-boot-starter-log', link: '/plugin/module/su-boot-starter-log' },
        { text: 'su-boot-starter-web', link: '/plugin/module/su-boot-starter-web' },
        { text: 'su-boot-starter-quartz', link: '/plugin/module/su-boot-starter-quartz' },
        { text: 'su-boot-starter-redis', link: '/plugin/module/su-boot-starter-redis' },
        { text: 'su-boot-starter-dingtalk', link: '/plugin/module/su-boot-starter-dingtalk' },
        { text: 'su-boot-starter-rabbitmq', link: '/plugin/module/su-boot-starter-rabbitmq' },
        { text: 'su-boot-starter-wx', link: '/plugin/module/su-boot-starter-wx' },
        { text: 'su-boot-starter-weixin', link: '/plugin/module/su-boot-starter-weixin' },
        { text: 'su-boot-starter-wxpay', link: '/plugin/module/su-boot-starter-wxpay' },
      ],
    },
  ],
  '/ai/':  [
    {
      text: '开发指南',
      items: [
        { text: '快速上手', link: '/ai/pages/started' },
      ],
    },
    {
      text: '组件库',
      items: [
        { text: '邮件组件', link: '/ai/pages/started' },
        { text: '权限组件', link: '/ai/pages/started' },
        { text: '日志组件', link: '/ai/pages/started' },
        { text: 'web组件', link: '/ai/pages/started' },
        { text: '微信组件', link: '/ai/pages/started' },
        { text: '钉钉组件', link: '/ai/pages/started' },
        { text: '缓存组件', link: '/ai/pages/started' },
      ],
    },
  ],
  '/manage/':  [
    {
      text: '基础',
      items: [
        { text: '安装运行', link: '/manage/' },
        { text: '目录结构', link: '/manage/pages/structure' },
        { text: '环境变量', link: '/manage/pages/env' },
        { text: '项目配置', link: '/manage/pages/settings' },
        { text: '请求配置', link: '/manage/pages/request' },
        { text: '组件配置', link: '/manage/pages/component' },
        { text: '菜单路由', link: '/manage/pages/router' },
        { text: '国际化', link: '/manage/pages/i18n' },

      ],
    },
    {
      text: '进阶',
      items: [
        {
          text: '快速上手',
          items: [
            { text: '创建页面', link: '/manage/pages/quick/create' },
            { text: '查询列表', link: '/manage/pages/quick/list' },
            { text: '表单录入', link: '/manage/pages/quick/form' },
            { text: '创建图表', link: '/manage/pages/quick/chart' },
            { text: '精简开发', link: '/manage/pages/quick/dev' },
            { text: '常见问题', link: '/manage/pages/quick/issue' },
          ]
        },
        {
          text: '权限设置',
          items: [
            { text: '固定权限', link: '/manage/pages/permission/fixed' },
            { text: '动态权限', link: '/manage/pages/permission/dynamic' },
            { text: '操作权限', link: '/manage/pages/permission/operation' },
          ]
        },
        {
          text: '接口调试',
          items: [
            { text: 'Mock', link: '/manage/pages/mock' },
            { text: '接口联调', link: '/manage/pages/debug' },
          ]
        },
        {
          text: '应用部署',
          items: [
            { text: '构建', link: '/manage/pages/build' },
            { text: '部署', link: '/manage/pages/deploy' },
          ]
        }
      ],
    },
    {
      text: '组件',
      items: [
        { text: 'Basic 基础组件',
          items: [
            { text: 'Page 页面', link: '/manage/pages/components/basic/Page' },
            { text: 'Paragraph 排印增强', link: '/manage/pages/components/basic/Paragraph' },
            { text: 'IconPicker 图标选择器', link: '/manage/pages/components/basic/IconPicker' },
          ]
        },
        { text: 'Form 表单组件',
          items: [
            { text: 'BasicForm 表单增强', link: '/manage/pages/components/form/BasicForm' },
            { text: 'BasicSelect 选择器增强', link: '/manage/pages/components/form/BasicSelect' },
            { text: 'Region 地区选择', link: '/manage/pages/components/form/Region' },
            { text: 'TableSelect 表格选择器', link: '/manage/pages/components/form/TableSelect' },
            { text: 'BasicUpload 上传增强', link: '/manage/pages/components/form/BasicUpload' },
            { text: 'Cropper 图片裁剪', link: '/manage/pages/components/form/Cropper' },
            { text: 'Password 密码强度', link: '/manage/pages/components/form/Password' },
          ]
        },
        { text: 'Data 数据展示',
          items: [
            { text: 'BasicTable 表格增强', link: '/manage/pages/components/data/BasicTable' }
          ]
        },
        { text: 'Feedback 反馈组件',
          items: [
            { text: 'BasicModal 对话框增强', link: '/manage/pages/components/feedback/BasicModal' },
            { text: 'Loading 加载增强', link: '/manage/pages/components/feedback/Loading' }
          ]
        },
      ],
    },
    {
      text: 'Hooks',
      items: [
        { text: 'useCopyToClipboard 复制文本', link: '/manage/pages/hooks/useCopyToClipboard' },
        { text: 'useTags 多页签管理', link: '/manage/pages/hooks/useTags' },
        { text: 'usePage 跳转页面', link: '/manage/pages/hooks/usePage' },
        { text: 'usePermission 权限控制', link: '/manage/pages/hooks/usePermission' },
        { text: 'useVerificate 表单验证', link: '/manage/pages/hooks/useVerificate' },
      ],
    },
  ],
}
